
import React from 'react';
import { Input,Button } from 'antd';

function   InputSearch(props:any){

   const getValue = (e:any)=>{
     
        props.getSearch(e.target.value)
   }

    return (

        <div className='inputSearch glb-flex4'>
           <Input placeholder="Basic usage" onChange={(e)=>getValue(e)} /> 
          
        </div>
    )
}


export default  InputSearch